package com.wu.gumomallware.ware.dao;

import com.wu.gumomallware.ware.entity.WareSkuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 商品库存
 * 
 * @author wu
 * @email 2195361340@qq.com
 * @date 2022-12-12 18:37:49
 */
@Mapper
public interface WareSkuDao extends BaseMapper<WareSkuEntity> {

    List<Map<String, Object>> getHaveStockBySkuIds(@Param("ids") List<Long> ids);
}
